package com.jiayang.hhotel.adapter;

import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.jiayang.hhotel.R;
import com.yanzhenjie.recyclerview.swipe.SwipeMenuAdapter;

/**
 * Created by zj on 2017/5/11 0011.
 * 客房管理查看通用列表
 */

public class GuestRoomSetAdapter extends SwipeMenuAdapter<GuestRoomSetAdapter.ViewHolder> {
    private Context context;
    private int type ;//请求类型
    private boolean isHis=false;//是否历史列表
    public GuestRoomSetAdapter(int type,boolean isHis){

    }
    @Override
    public View onCreateContentView(ViewGroup parent, int viewType) {
        return LayoutInflater.from(parent.getContext()).inflate(R.layout.item_guest_room, parent, false);
    }

    @Override
    public GuestRoomSetAdapter.ViewHolder onCompatCreateViewHolder(View realContentView, int viewType) {
        return null;
    }

    @Override
    public void onBindViewHolder(GuestRoomSetAdapter.ViewHolder holder, int position) {

    }

    @Override
    public int getItemCount() {
        return 0;
    }
    static class ViewHolder extends  RecyclerView.ViewHolder{


        public ViewHolder(View itemView) {
            super(itemView);
        }
    }
}
